var btn1=document.getElementById("btn1");
var btn2=document.getElementById("btn2");
var btn3=document.getElementById("btn3");
var imgBox1=document.getElementById("imgBox1");
var imgBox2=document.getElementById("imgBox2");
var imgBox3=document.getElementById("imgBox3");
function xiaoshi(){
	btn1.style.background="#f8f6f4";
	btn2.style.background="#f8f6f4";
	btn3.style.background="#f8f6f4";
	btn1.style.color="#666";
	btn2.style.color="#666";
	btn3.style.color="#666";
	imgBox1.style.display="none";
	imgBox2.style.display="none";
	imgBox3.style.display="none";
}
btn1.onclick=function(){
	xiaoshi();
	btn1.style.background="white";
	btn1.style.color="red";
	imgBox1.style.display="flex";
	
}
btn2.onclick=function(){
	xiaoshi();
	btn2.style.background="white";
	btn2.style.color="red";
	imgBox2.style.display="flex";
}
btn3.onclick=function(){
	xiaoshi();
	btn3.style.background="white";
	btn3.style.color="red";
	imgBox3.style.display="flex";
}

